using Blog2025.Application.Dto;

namespace Blog2025.Application.Services;

public interface IDepartmentAppServices
{
    // 创建部门
    Task CreateDepartmentAsync(CreateDepartmentDto dto);
    // 删除部门 
    Task DeleteDepartmentAsync(Guid id);
    // 修改部门 
    Task UpdateDepartmentAsync(Guid id,string departmentName);
    // 获取部门 
    Task<dynamic> GelAllDepartmentAsync(PageRequestDto pageRequestDto);
    // 部门详情
    Task<DepartmentDto> GelByIdDepartmentAsync(Guid id);
    // 过滤器
    Task<dynamic> GetFilterAsync(Dictionary<string ,object> filters);
}